export function menu(param) {
  return uni.$tn.http.get('/user/menu', {params:param})
}


import config from '@/common/config'
export const uploadUrl = config.baseUrl + "upload"


export function userOrder(param) {
  return uni.$tn.http.get('/user/order', {params:param})
}

export function orderDetail(param) {
  return uni.$tn.http.get('/user/orderDetail', {params:param})
}


export function updateInfo(param) {
  return uni.$tn.http.post('/user/updateInfo', param)
}

export function info(param) {
  return uni.$tn.http.get('/user/info', {params:param})
}


export function commentOrder(data) {
  return uni.$tn.http.post('/user/order/comment',data)
}

export function moneyLog(param) {
  return uni.$tn.http.get('/user/moneyLog', {params:param})
}

export function gyLog(param) {
  return uni.$tn.http.get('/user/gyLog', {params:param})
}

export function withdraw(data) {
  return uni.$tn.http.post('/user/withdraw',data)
}

export function groupList(param) {
  return uni.$tn.http.get('/user/group', {params:param})
}

export function collectList(param) {
  return uni.$tn.http.get('/user/collect', {params:param})
}
export function subComment(data) {
  return uni.$tn.http.post('/user/subComment',data)
}
export function changeGy(data) {
  return uni.$tn.http.post('/user/changeGy',data)
}
export function mentorCenter(data) {
  return uni.$tn.http.post('/user/mentorCenter',data)
}
export function updateMentor(data) {
  return uni.$tn.http.post('/user/updateMentor',data)
}
export function leaderCenter(data) {
  return uni.$tn.http.post('/user/leaderCenter',data)
}
export function updateLeader(data) {
  return uni.$tn.http.post('/user/updateLeader',data)
}

